﻿@using WsdShop.Model
@{
    Layout = "";
}
@model List<MemberBalanceDetail>
<div class="w_myCash">
    <div class="w_excrecord_top">
        <div class="w_excred_topleft">
            <div class="w_excred_head"><img src="@ViewBag.Avatar" /></div>
            <p class="w_erdtoplt_more">我的积分&nbsp;&nbsp;<font color="#eb272a">@ViewBag.Point</font></p>
        </div>
        <a ng-click="$state.go('user.pointOrder')" class="w_excrecord_topa">兑换记录</a>
    </div>
    <div class="w_excrecord_ti">积分明细</div>
    <div class="w_excrecord_main">
        @foreach (var item in Model)
        {
            <div class="w_myCash_per">
                <div class="w_myCash_left">
                    <div>@item.Note</div>
                    <p>@item.AddTime.ToString("yyyy-MM-dd")</p>
                </div>
                <div class="w_myCash_right">@(item.Point>0?"+"+item.Point.ToString():item.Point.ToString())</div>
            </div>
        }
    </div>
</div>